Skip to content

feat: add csrf-armor module - #1644

Merged
danielroe merged 1 commit into
nuxt:mainfrom
Jorgagu:feat/add-csrf-armor-module
Oct 11, 2026
Merged

danielroe merged 1 commit into
nuxt:mainfrom
Jorgagu:feat/add-csrf-armor-module

Conversation

@Jorgagu

@Jorgagu Jorgagu commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Module

CSRF protection for Nuxt 3 and 4: a module that registers server middleware automatically, plus auto-imported composables with SSR-safe token state. The server middleware uses Node.js APIs, so deploy with a Node-compatible Nitro preset.

@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 32ebc552-42d6-447c-9288-4fd68a38b899

📥 Commits

Reviewing files that changed from the base of the PR and between a0ef09c and 5f4d483.


⛔ Files ignored due to path filters (1)
  • icons/csrf-armor.png is excluded by !**/*.png

📒 Files selected for processing (1)
  • modules/csrf-armor.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.



📝 Walkthrough

Walkthrough

Adds the csrf-armor module to the catalog. The entry includes package, repository, and documentation links; an icon; security classification; module type; maintainers; Nuxt version compatibility; and an empty requirements map.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes


Merge Risk: ⚪ Minimal · up to 5f4d4

This change adds a catalog entry, and the supplied evidence identifies no concrete functional or deployment issue that should block merging.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check Passed The title clearly and concisely states that the pull request adds the csrf-armor module, which is the main change.
Description check Passed The description accurately describes the @csrf-armor/nuxt module, its security purpose, supported Nuxt versions, links, and Node-compatible deployment requirement.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Jorgagu

Jorgagu commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

👋 @danielroe could you please review this one please

@danielroe
danielroe merged commit 825f8bc into nuxt:main Oct 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants